package nc.vo.hljt.h00004;

import java.util.HashMap;

import nc.vo.scm.pub.smart.SmartFieldMeta;
import nc.vo.scm.pub.smart.SmartVOMeta;

public class Ret55BodyVOMeta extends SmartVOMeta {

	public Ret55BodyVOMeta() {
		super();
		init();
	}

	private void init() {
		String[] names = { "sapply_bid", "sapply_hid", "crowno", "ts","isclosed" };

		setTable("ic_sapply_b");
		setLabel("ic_sapply_b");
		setPkColName("sapply_bid");
		SmartFieldMeta sfm = null;
		HashMap hmColumn = new HashMap();

		for (int i = 0, loop = names.length; i < loop; i++) {
			sfm = SApplyBillHeadVOMeta.getSmartFieldMeta(names[i], true);
			if (sfm.getName().endsWith("name"))
				sfm.setPersistence(false);
			hmColumn.put(sfm.getName(), sfm);
		}

		setColumns(hmColumn);
	}

}
